<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">


    <f:view>

        <ui:composition template="maintemplate.xhtml">


            <ui:define name="title">#{labels.login_page_title}</ui:define>
            <ui:define name="body">

                <h2><a name="#{labels.login_welcome_message}">#{labels.login_welcome_message}</a></h2>

                <h:form>

                    <ul>
                        <h:panelGrid columns="2">


                            <li>Username:</li><h:inputText value="#{FlowManagedBean.username}"/>
                            <li>Password:</li><h:inputSecret value="#{FlowManagedBean.password}"/>


                            <h:commandButton action="#{FlowManagedBean.login}" value="Login"/>
                            <h:commandLink action="#{FlowManagedBean.forgotYourPassword}" value="#{labels.login_forgot_your_password}"/>

                        </h:panelGrid>

                    </ul>
                    
                </h:form>

            </ui:define>

        </ui:composition>

    </f:view>



</html>
